package com.lvt.example.thinking.in.spring.bean.lifecycle;

import org.springframework.beans.factory.support.DefaultListableBeanFactory;

/**
 * desc：class
 *
 * @author LT
 * @date 2022/10/25
 */
public class BeanDefinitionRegisterDemo {

    public static void main(String[] args) {
        //单体Bean通过SingletonBeanRegistry的registerSingleton来注册。
        // DefaultSingletonBeanRegistry实现了SingletonBeanRegistry接口。
        DefaultListableBeanFactory defaultListableBeanFactory = new DefaultListableBeanFactory();
//        defaultListableBeanFactory.registerBeanDefinition("test","test");
    }
}
